#ifndef __SYS_MAIN_H__
#define __SYS_MAIN_H__

#define DUMMY_CLOCK_RATE      1000.00
#define MAX_LINE_LEN	1024
#define MAX_TOKEN	20

int sys_init( void );
void sys_exit( void );
int read_line( void );

void init_clock_rate( void );
void pause_any_key( void );
double convert_tsc_to_ms( unsigned long long tsc_time );
unsigned long long convert_ms_to_tsc( double ms );

#define TRACE_FILE_EOF	250

//expose global variables
extern char *tokens[MAX_TOKEN];
extern int  line_number;

#endif

